﻿using System.Windows.Forms;
using ProfileManager.Properties;

namespace ProfileManager.Helpers
{
    public class ShowMessage
    {
        public static void Info(string infoMessage)
        {
            MessageBox.Show(infoMessage, Resources.TitleInformation, MessageBoxButtons.OK, MessageBoxIcon.Information);
        }

        public static void Error(string infoMessage)
        {
            MessageBox.Show(infoMessage, Resources.TitleError, MessageBoxButtons.OK, MessageBoxIcon.Error);
        }

        public static void Warning(string infoMessage)
        {
            MessageBox.Show(infoMessage, Resources.TitleWarning, MessageBoxButtons.OK, MessageBoxIcon.Warning);
        }
    }
}
